package com.carpedil.demo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/** @author Administrator */
@Component
@Data
public class UserVo implements Serializable {
  private Integer id;
  private String userName;
  private String passWord;
  private String nickName;

  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date regTime;

  private Integer userDetailId;
  private String userTel;
  private String userAddress;
  private String userImg;
  private String roleName;
}
